home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.7 KB | 47 lines | [TEXT/GEOL] |
- Item 4852505 1-Nov-88 18:37
-
- From: CREMER.M Cremer, Mike
-
- To: D0756 Tradenet, Dev, Adam Wildavsky
-
- cc: WETMORE1 Wetmore, Russ
- MACAPP.TECH$ MACAPP Tech
-
- Sub: re ViewEdit default view
-
- Adam,
-
- "Ah, yes, verily and forsooth," said Goodgulf quickly. "That is to say, yes
- and no. Or perhaps just no."
- -Bored of the Rings, Harvard Lampoon
-
- As far as I can tell, there is no way in ViewEdit to specify the default
- subview in the TWindow object. It appears to default to noID (' ').
- I usually use ViewEdit to get an approximation, then DeRez the lot and
- fine-tune it by hand. Not the most pleasant task, I agree, but I like the idea
- of having the .r source to anything I use in a program (including PICTs...).
- But all is not lost. I have two suggesions:
-
- 1. DeRez just the view with ViewTypes.r as one of the template files
- (DeRez -only 'view' MyViews.rsrc "{RezMacApp}ViewTypes.r" > MyViews.r)
- and then edit the resulting .r code to fix the TWindow template. This is not a
- great alternative, unless you like spending hours cleaning up the mess that
- DeRez leaves behind.
-
- 2. Use ResEdit to fix the problem (avert thy gaze, Russ). The default view
- should be the four spaces immediately before the window's title (i.e. "<<<>>>"
- if you use the defaults). Just select the spaces and type in the id of the
- subview you want TWindow to target.
- *IMPORTANT* You want to make sure you get the correct bytes. The first set of
- four spaces is the superID of the window, which should be left to spaces
- (root).
-
- Other than that, beats me. Any ideas, Russ?
-
- Hope this helps.
-
- $mike cremer
-
-
-
-